package woshiheima2;

public class AnimalOperator {
    public void userAnimal(Animal animal) {
        animal.eat();
    }

    public Animal getAnimal() {
        Animal a = new Cat();
         return  a;

    }
}